{% extends "./common/base.html" %}
{% block title %}
	选择地址
{% endblock %}
{% block css %}
	<link rel="stylesheet" type="text/css" href="/css/h5/address_list.css">
{% endblock %}
{% block content %}
	{% for address in list %}
		<div data-id="{{address.id}}" class="address-section">
			{% if address.id == id %}
				<img class="address-icon" src="/img/h5/selected_icon.png">
			{% else %}
				<img class="address-icon" src="/img/h5/select_icon.png">
			{% endif %}
			<div class="address-text">
				<p class="username">{{address.user}} {{address.phone}}</p>
				<p class="address">{{address.province}} {{address.city}} {{address.area}} {{address.address}}</p>
			</div>
		</div>
	{% endfor %}
{% endblock %}
{% block script %}
	<script type="text/javascript" src="/js/h5/address_list.js"></script>
{% endblock %}